e4299231628f851833b260d562cba5a1f3c4965e,service-statistics-kapa/src/main/java/fi/nls/oskari/control/statistics/plugins/kapa/parser/KapaIndicator.java,KapaIndicator,parse,#JSONObject#Map#,48
Before Change
// If in the future it is added, the id must be combined with the plugin id to make a global id of the source.
// Mappings between the same source, different plugin are nontrivial.
this.localizedSource = toLocalizationMap(jsonObject.getJSONObject("organization").getJSONObject("title"));
this.localizedName = toLocalizationMap(jsonObject.getJSONObject("title"));
// KaPa can give indicators with integer and float values. Both are handled as floats.
// In the future this might change.
if (jsonObject.getJSONObject("selectors").has("layer")) {
After Change
// If in the future it is added, the id must be combined with the plugin id to make a global id of the source.
// Mappings between the same source, different plugin are nontrivial.
setSource(toLocalizationMap(jsonObject.getJSONObject("organization").getJSONObject("title")));
setName(toLocalizationMap(jsonObject.getJSONObject("title")));
// KaPa can give indicators with integer and float values. Both are handled as floats.
// In the future this might change.
if (jsonObject.getJSONObject("selectors").has("layer")) {